package com.ygou.pojo;

import java.util.ArrayList;
import java.util.List;

public class WebsidesetExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WebsidesetExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSitenameIsNull() {
            addCriterion("sitename is null");
            return (Criteria) this;
        }

        public Criteria andSitenameIsNotNull() {
            addCriterion("sitename is not null");
            return (Criteria) this;
        }

        public Criteria andSitenameEqualTo(String value) {
            addCriterion("sitename =", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameNotEqualTo(String value) {
            addCriterion("sitename <>", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameGreaterThan(String value) {
            addCriterion("sitename >", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameGreaterThanOrEqualTo(String value) {
            addCriterion("sitename >=", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameLessThan(String value) {
            addCriterion("sitename <", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameLessThanOrEqualTo(String value) {
            addCriterion("sitename <=", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameLike(String value) {
            addCriterion("sitename like", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameNotLike(String value) {
            addCriterion("sitename not like", value, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameIn(List<String> values) {
            addCriterion("sitename in", values, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameNotIn(List<String> values) {
            addCriterion("sitename not in", values, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameBetween(String value1, String value2) {
            addCriterion("sitename between", value1, value2, "sitename");
            return (Criteria) this;
        }

        public Criteria andSitenameNotBetween(String value1, String value2) {
            addCriterion("sitename not between", value1, value2, "sitename");
            return (Criteria) this;
        }

        public Criteria andSiteiconIsNull() {
            addCriterion("siteicon is null");
            return (Criteria) this;
        }

        public Criteria andSiteiconIsNotNull() {
            addCriterion("siteicon is not null");
            return (Criteria) this;
        }

        public Criteria andSiteiconEqualTo(String value) {
            addCriterion("siteicon =", value, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconNotEqualTo(String value) {
            addCriterion("siteicon <>", value, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconGreaterThan(String value) {
            addCriterion("siteicon >", value, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconGreaterThanOrEqualTo(String value) {
            addCriterion("siteicon >=", value, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconLessThan(String value) {
            addCriterion("siteicon <", value, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconLessThanOrEqualTo(String value) {
            addCriterion("siteicon <=", value, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconLike(String value) {
            addCriterion("siteicon like", value, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconNotLike(String value) {
            addCriterion("siteicon not like", value, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconIn(List<String> values) {
            addCriterion("siteicon in", values, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconNotIn(List<String> values) {
            addCriterion("siteicon not in", values, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconBetween(String value1, String value2) {
            addCriterion("siteicon between", value1, value2, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSiteiconNotBetween(String value1, String value2) {
            addCriterion("siteicon not between", value1, value2, "siteicon");
            return (Criteria) this;
        }

        public Criteria andSitekeyIsNull() {
            addCriterion("sitekey is null");
            return (Criteria) this;
        }

        public Criteria andSitekeyIsNotNull() {
            addCriterion("sitekey is not null");
            return (Criteria) this;
        }

        public Criteria andSitekeyEqualTo(String value) {
            addCriterion("sitekey =", value, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyNotEqualTo(String value) {
            addCriterion("sitekey <>", value, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyGreaterThan(String value) {
            addCriterion("sitekey >", value, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyGreaterThanOrEqualTo(String value) {
            addCriterion("sitekey >=", value, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyLessThan(String value) {
            addCriterion("sitekey <", value, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyLessThanOrEqualTo(String value) {
            addCriterion("sitekey <=", value, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyLike(String value) {
            addCriterion("sitekey like", value, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyNotLike(String value) {
            addCriterion("sitekey not like", value, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyIn(List<String> values) {
            addCriterion("sitekey in", values, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyNotIn(List<String> values) {
            addCriterion("sitekey not in", values, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyBetween(String value1, String value2) {
            addCriterion("sitekey between", value1, value2, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitekeyNotBetween(String value1, String value2) {
            addCriterion("sitekey not between", value1, value2, "sitekey");
            return (Criteria) this;
        }

        public Criteria andSitedescIsNull() {
            addCriterion("sitedesc is null");
            return (Criteria) this;
        }

        public Criteria andSitedescIsNotNull() {
            addCriterion("sitedesc is not null");
            return (Criteria) this;
        }

        public Criteria andSitedescEqualTo(String value) {
            addCriterion("sitedesc =", value, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescNotEqualTo(String value) {
            addCriterion("sitedesc <>", value, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescGreaterThan(String value) {
            addCriterion("sitedesc >", value, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescGreaterThanOrEqualTo(String value) {
            addCriterion("sitedesc >=", value, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescLessThan(String value) {
            addCriterion("sitedesc <", value, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescLessThanOrEqualTo(String value) {
            addCriterion("sitedesc <=", value, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescLike(String value) {
            addCriterion("sitedesc like", value, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescNotLike(String value) {
            addCriterion("sitedesc not like", value, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescIn(List<String> values) {
            addCriterion("sitedesc in", values, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescNotIn(List<String> values) {
            addCriterion("sitedesc not in", values, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescBetween(String value1, String value2) {
            addCriterion("sitedesc between", value1, value2, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andSitedescNotBetween(String value1, String value2) {
            addCriterion("sitedesc not between", value1, value2, "sitedesc");
            return (Criteria) this;
        }

        public Criteria andFootcopyIsNull() {
            addCriterion("footcopy is null");
            return (Criteria) this;
        }

        public Criteria andFootcopyIsNotNull() {
            addCriterion("footcopy is not null");
            return (Criteria) this;
        }

        public Criteria andFootcopyEqualTo(String value) {
            addCriterion("footcopy =", value, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyNotEqualTo(String value) {
            addCriterion("footcopy <>", value, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyGreaterThan(String value) {
            addCriterion("footcopy >", value, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyGreaterThanOrEqualTo(String value) {
            addCriterion("footcopy >=", value, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyLessThan(String value) {
            addCriterion("footcopy <", value, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyLessThanOrEqualTo(String value) {
            addCriterion("footcopy <=", value, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyLike(String value) {
            addCriterion("footcopy like", value, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyNotLike(String value) {
            addCriterion("footcopy not like", value, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyIn(List<String> values) {
            addCriterion("footcopy in", values, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyNotIn(List<String> values) {
            addCriterion("footcopy not in", values, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyBetween(String value1, String value2) {
            addCriterion("footcopy between", value1, value2, "footcopy");
            return (Criteria) this;
        }

        public Criteria andFootcopyNotBetween(String value1, String value2) {
            addCriterion("footcopy not between", value1, value2, "footcopy");
            return (Criteria) this;
        }

        public Criteria andRecordnoIsNull() {
            addCriterion("recordNo is null");
            return (Criteria) this;
        }

        public Criteria andRecordnoIsNotNull() {
            addCriterion("recordNo is not null");
            return (Criteria) this;
        }

        public Criteria andRecordnoEqualTo(String value) {
            addCriterion("recordNo =", value, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoNotEqualTo(String value) {
            addCriterion("recordNo <>", value, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoGreaterThan(String value) {
            addCriterion("recordNo >", value, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoGreaterThanOrEqualTo(String value) {
            addCriterion("recordNo >=", value, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoLessThan(String value) {
            addCriterion("recordNo <", value, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoLessThanOrEqualTo(String value) {
            addCriterion("recordNo <=", value, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoLike(String value) {
            addCriterion("recordNo like", value, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoNotLike(String value) {
            addCriterion("recordNo not like", value, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoIn(List<String> values) {
            addCriterion("recordNo in", values, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoNotIn(List<String> values) {
            addCriterion("recordNo not in", values, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoBetween(String value1, String value2) {
            addCriterion("recordNo between", value1, value2, "recordno");
            return (Criteria) this;
        }

        public Criteria andRecordnoNotBetween(String value1, String value2) {
            addCriterion("recordNo not between", value1, value2, "recordno");
            return (Criteria) this;
        }

        public Criteria andStatcodeIsNull() {
            addCriterion("statcode is null");
            return (Criteria) this;
        }

        public Criteria andStatcodeIsNotNull() {
            addCriterion("statcode is not null");
            return (Criteria) this;
        }

        public Criteria andStatcodeEqualTo(String value) {
            addCriterion("statcode =", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeNotEqualTo(String value) {
            addCriterion("statcode <>", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeGreaterThan(String value) {
            addCriterion("statcode >", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeGreaterThanOrEqualTo(String value) {
            addCriterion("statcode >=", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeLessThan(String value) {
            addCriterion("statcode <", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeLessThanOrEqualTo(String value) {
            addCriterion("statcode <=", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeLike(String value) {
            addCriterion("statcode like", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeNotLike(String value) {
            addCriterion("statcode not like", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeIn(List<String> values) {
            addCriterion("statcode in", values, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeNotIn(List<String> values) {
            addCriterion("statcode not in", values, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeBetween(String value1, String value2) {
            addCriterion("statcode between", value1, value2, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeNotBetween(String value1, String value2) {
            addCriterion("statcode not between", value1, value2, "statcode");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}